/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.uch.syscom.hibernateSpringDao;

import java.util.List;
import pe.edu.uch.syscom.mapping.TbCategoria;
import pe.edu.uch.syscom.mapping.TbSubcategoria;

/**
 *
 * @author Jose Tejada
 */
public interface HSCategoriaDAO {

    public List<TbCategoria> listarCategorias();

    public List<TbSubcategoria> listarSubCategorias( int iIdCategoria );

    public void saveCategoria( String sCategSubCateg );

    public void saveSubCategoria( String sCategSubCateg, int iIdCategoria  );
}
